package dtos

/*
*

	{
	  "user_id": "190302",
	  "gender": 2,
	  "to_user_id": "190308",
	  "msg_type": 0,
	  "msg": "hello",
	  "duration": 0,
	  "chat_scenario": 1, 传2(私聊消息)
	  "user_info":{
	    "user_id":"190302",
	    "gender":2,
	    "nick":"nick",
	    "head_img":"head_img.jpg",
	    "age":22,
	    "flag_image":"flag_image.jpg"
		"identity": 21,
	  },
	  "to_user_info":{
	    "user_id":"190308",
	    "gender":1,
	    "nick":"nick",
	    "head_img":"head_img.jpg",
	    "age":233,
	    "flag_image":"flag_image.jpg",
		"identity": 1,
	  }
	}
*/
type ChatParams struct {
	UserId       string       `json:"user_id"`
	Gender       int          `json:"gender"`
	ToUserId     string       `json:"to_user_id"`
	MsgType      int          `json:"msg_type"`
	Msg          string       `json:"msg"`
	Duration     int          `json:"duration"`
	ChatScenario int          `json:"chat_scenario"` // 传2(私聊消息)
	UserInfo     *UserProfile `json:"user_info"`
	ToUserInfo   *UserProfile `json:"to_user_info"`
}
